package com.cloud.poetry.base.feign.fallback.impl;

import com.cloud.poetry.base.feign.ChatRoomFeignClient;
import com.cloud.poetry.core.entity.ChatCacheUser;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

import java.util.Collections;
import java.util.List;

/**
 * @author mengxj
 */
@Slf4j
public class ChatRoomFeignClientImpl implements ChatRoomFeignClient {

    @Setter
    private Throwable throwable;

    @Override
    public void addUser(ChatCacheUser user) {
        log.error("chat feign saveChatLog error! feign error! hystrix 降级处理", throwable);
    }
}
